<?php

use app\common\business\LocationConfig;

$tokenPre= LocationConfig::getConfByLocation()['redis_prefix'];
return [
    "code_pre" => "code_pre_",
    "code_expire" => 60,
    "token_pre" => $tokenPre."token_pre_", //小程序用户登录前缀
    "wx_access_token_pre" => $tokenPre."wx_access_token_pre_",//小程序access_token前缀
];
